package com.scpii.api.domain.app;

import java.io.Serializable;
import java.util.Date;

import com.scpii.api.common.base.FilterEntity;

public class AppConfigs extends FilterEntity implements Serializable {

	public static class Type {
		public static final Integer Third_Party = 1;
		public static final Integer ALIPAY = 2;
	}

	public static class ALIPAY_KEYWORD {
		/**
		 * 合作商ID
		 */
		public static final String PART_ID = "PART_ID";
		/**
		 * 合作商秘钥
		 */
		public static final String PRIVATE_KEY = "PRIVATE_KEY";
		/**
		 * 卖家账号
		 */
		public static final String SELLER_ACCOUNT = "SELLER_ACCOUNT";
	}

	private Long id;

	private String title;

	private Date createDt;

	private String createBy;

	private Date updateDt;

	private String updateBy;

	private Long userId;

	private Long appId;

	private String key;

	private String value;

	private static final long serialVersionUID = 1L;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title == null ? null : title.trim();
	}

	public Date getCreateDt() {
		return createDt;
	}

	public void setCreateDt(Date createDt) {
		this.createDt = createDt;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy == null ? null : createBy.trim();
	}

	public Date getUpdateDt() {
		return updateDt;
	}

	public void setUpdateDt(Date updateDt) {
		this.updateDt = updateDt;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy == null ? null : updateBy.trim();
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getAppId() {
		return appId;
	}

	public void setAppId(Long appId) {
		this.appId = appId;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key == null ? null : key.trim();
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value == null ? null : value.trim();
	}
}